<template>
  <div>
    <el-container>
      <el-aside width="200px">
        <el-menu
          default-active="2"
          class="el-menu-vertical-demo"
          :router="true"
        >
          <el-menu-item index="/shouye">
            <i class="el-icon-location"></i>
            <span>后台首页</span>
          </el-menu-item>
          <el-menu-item index="/xiangche">
            <i class="el-icon-menu"></i>
            <span slot="title">相册管理</span>
          </el-menu-item>
          <el-menu-item index="/shangpin">
            <i class="el-icon-document"></i>
            <span slot="title">商品列表</span>
          </el-menu-item>
        </el-menu>
      </el-aside>
      <el-main>
        <crumbs />
        <router-view
      /></el-main>
    </el-container>
  </div>
</template>

<script>
import crumbs from "../../components/crumb";
export default {
  components: {
    crumbs,
  },
};
</script>

<style>
</style>